<script setup lang="ts">

import LabelBase from "~/components/ai/LabelBase.vue";

interface Props {
  title?: string
}

const props = withDefaults(defineProps<Props>(), {
  title: '自定义文本输入'
})

const value = defineModel({
  default: "",
})
</script>

<template>
  <label-base>{{ title }}</label-base>
  <div>
    <a-textarea v-model:value="value" :placeholder="title"  :auto-size="{minRows: 1, maxRows: 3,rows: 1}"/>
  </div>
</template>

<style scoped lang="scss">

</style>